<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a th:href="@{/a}">请求</a>
<form th:action="@{/testUp}" method="post" enctype="multipart/form-data">
    <input type="file" name="photo">
    <input type="submit" >
</form>
<table>
    <tr>
        <td><input type="text" name="username"></td>
        <td><input type="password" name="password"></td>
        <td><input type="button" id="btn" value="确定"></td>
    </tr>

</table>
<a th:href="@{/testDown}">下载</a>
</body>
</html>